package com.example.demo.client.vm.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/17  15:07
 */
@ApiModel("角色关联用户信息")
public class GetRoleRelateUserVm implements Serializable{
    private static final long serialVersionUID = -2404771166300411403L;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "用户名")
    private String loginName;
    @ApiModelProperty(value = "姓名")
    private String alias;
    @ApiModelProperty(value = "电话号码")
    private String telephone;
    @ApiModelProperty(value = "组织机构ID")
    private Long orgId;
    @ApiModelProperty(value = "用户状态")
    private Integer status;
    @ApiModelProperty(value = "组织机构名称")
    private String groupName;
    @ApiModelProperty(value = "组织机构全称")
    private String groupFullName;
    /*@ApiModelProperty(value = "关联方式")
    private Integer relatedType;*/
    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "区域")
    private String regionType;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupFullName() {
        return groupFullName;
    }

    public void setGroupFullName(String groupFullName) {
        this.groupFullName = groupFullName;
    }

    /*public Integer getRelatedType() {
        return relatedType;
    }

    public void setRelatedType(Integer relatedType) {
        this.relatedType = relatedType;
    }*/

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRegionType() {
        return regionType;
    }

    public void setRegionType(String regionType) {
        this.regionType = regionType;
    }

    @Override
    public String toString() {
        return "GetRoleRelateUserVm{" +
            "userId=" + userId +
            ", loginName='" + loginName + '\'' +
            ", alias='" + alias + '\'' +
            ", telephone='" + telephone + '\'' +
            ", orgId=" + orgId +
            ", status=" + status +
            ", groupName='" + groupName + '\'' +
            ", groupFullName='" + groupFullName + '\'' +
            /*", relatedType=" + relatedType +*/
            ", roleId=" + roleId +
            '}';
    }

}
